package com.crr.mapper;

import com.crr.bean.CInquiry;
import com.crr.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface CInquiryMapper extends BaseMapper<CInquiry> {
    /**
     * 查询表中当前月最大的询价或者咨询编码
     * @param ym
     * @return
     */
    String queryMaxCode(@Param("ym") String ym,@Param("code") String code);


}